package io.renren.modules.nuaa.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.renren.common.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
* 问卷
*
* @author whc 15953295779@126.com
* @since 3.0 2023-11-03
*/
@Data
@ApiModel(value = "问卷")
public class TQuestionDTO implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "模块ID")
    private Integer categoryId;
    @ApiModelProperty(value = "模块名称")
    private String categoryName;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "图片")
    private String img;
    @ApiModelProperty(value = "状态")
    private Integer status;
    @ApiModelProperty(value = "创建者")
    private String creator;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createDate;
    @ApiModelProperty(value = "更新者")
    private String updater;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date updateDate;

    private List<TQuestionItemDTO> questionItemList;
}